<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>辽宁省国资委系统OA协同办公系统</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<link href="css/style.css" rel="stylesheet" type="text/css" />
<link href="images/blue/style_blue.css" rel="stylesheet" type="text/css" />
<LINK href="js/dtreejs/dtree.css" type=text/css rel=StyleSheet>
<SCRIPT src="js/dtreejs/dtree.js" type=text/javascript></SCRIPT>

<script type="text/javascript">
	function gotoList() {
		document.location = "v/resourceAction/list";
	}


</script>

</head>

<body>
	<table width="97%" height="20" border="0" cellpadding="0"
		cellspacing="0">
		<tr>
			<td height="40" align="left">&nbsp;&nbsp;<img
				src="images/blue/ico_01.gif" width="8" height="9" />您的当前位置：系统管理
				&gt;&gt; 修改资源</td>
			<td align="right">&nbsp;</td>
		</tr>
	</table>
	<table width="97%" border="0" cellspacing="0" cellpadding="0">
		<tr>
			<td width="18"><img src="images/blue/title_left01.gif"
				width="18" height="32" /></td>
			<td align="left" valign="top"
				background="images/blue/title_bgtop.gif">
				<table width="98%" border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td align="center" class="Ftitle b">修改资源</td>
					</tr>
				</table>
			</td>
			<td width="10"><img src="images/blue/title_left02.gif"
				width="10" height="32" /></td>
		</tr>
		<tr>
			<td background="images/blue/title_bgleft.gif">&nbsp;</td>
			<td height="175" align="left" valign="top" bgcolor="#EFEFF3">
				<table width="98%" border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td>&nbsp;</td>
					</tr>
				</table>
				<table width="98%" border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td style="display: none;" width="200" align="right"
							valign="bottom"><img src="images/blue/pic_ures.jpg"
							width="242" height="201" /></td>
						<td>
							<table width="85%" border="0" align="center" cellpadding="0"
								cellspacing="0" class="dir">
								<s:form action="update" id="addForm" theme="simple"
									namespace="/v/resourceAction">
									<!-- 开始 -->
									<input type="hidden" name="resource.resourceId" value="<s:property value="resource.resourceId"/>">
									<tr>
										<td style="color: red;"><s:property value="msg" /></td>
										<td></td>
									</tr>
									<tr>
										<td align="right" bgcolor="#FFFFFF" width="16%">资源标识：</td>
										<td bgcolor="#FFFFFF" align="center"><s:textfield
												id="name" name="resource.name" cssClass="input"
												size="32" cssStyle="float:left;" /></td>
									</tr>
									<tr>
										<td align="right" bgcolor="#FFFFFF" width="16%">资源名称：</td>
										<td bgcolor="#FFFFFF" align="center"><s:textfield
												id="title" name="resource.title" cssClass="input"
												size="32" cssStyle="float:left;" />
										</td>
									</tr>
									<tr>
										<td align="right" bgcolor="#FFFFFF" width="16%">资源地址：</td>
										<td bgcolor="#FFFFFF" align="center"><s:textfield
												id="title" name="resource.url" cssClass="input"
												size="32" cssStyle="float:left;" />
										</td>
									</tr>
									<tr>
										<td align="right" bgcolor="#FFFFFF" width="16%">备注：</td>
										<td bgcolor="#FFFFFF"><s:textfield id="remark"
												name="resource.remark" cssClass="input" size="32" /></td>
									</tr>
									<tr>
										<td width="16%" height="30" align="right" bgcolor="#FFFFFF">上级菜单：</td>
										<td align="left" bgcolor="#FFFFFF">
										<s:select list="list" name="resource.parentId" listKey="resourceId" listValue="title" headerKey="0" headerValue="角色列表"></s:select>
										</td>
									</tr>
									<tr>
										<td height="60" colspan="2" align="center" bgcolor="#FFFFFF"><s:submit
												cssClass="btn_add" value="修改"></s:submit><input
											type="button" class="btn_back"	value="返回" onclick="gotoList();"/></td>
									</tr>
									<!-- 结束 -->
								</s:form>
							</table>
						</td>
						<td>

						</td>
					</tr>
				</table>
				<table width="98%" border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td>&nbsp;</td>
					</tr>
				</table>
			</td>
			<td background="images/blue/title_bgright.gif">&nbsp;</td>
		</tr>
		<tr>
			<td height="5"><img src="images/blue/title_bottom01.gif"
				width="18" height="5" /></td>
			<td background="images/blue/title_bgbottom.gif"></td>
			<td><img src="images/blue/title_bottom02.gif" width="10"
				height="5" /></td>
		</tr>
	</table>
	<p>&nbsp;</p>
</body>
</html>
